#include <iostream>
using namespace std;
#include "rect.h"
#include <ezwin.h>
#include <cassert>
#include <cmath>
SimpleWindow HelloWindow("My First Window", 10.0, 5.0, Position(5.0,6.0));
int ApiMain() {
	float x,y;
	HelloWindow.Open();
	assert(HelloWindow.GetStatus() == WindowOpen);
	
	Position Center = HelloWindow.GetCenter();
	HelloWindow.RenderLine(Position(5.0,0.0), Position(5.0,5.0),
                        Black,0.0);
    	HelloWindow.RenderLine(Position(0.0,2.5), Position(10.0,2.5),
                        Black,0.0);

	for(x=-3.5;x<3.5;x=x+0.001){ y=log(x);
	
		HelloWindow.RenderLine(Position(5.0,2.5)+Position(x,-y),Position(5.0,2.5)+Position(x,-y),
                        Red, 0.0);
	}	
	}

